
func void B_AssessUseMob()
{
	var string detMob;
	if(!Npc_IsPlayer(other))
	{
		return;
	};
	if((Hlp_GetInstanceID(self) == Hlp_GetInstanceID(SLD_801_Torlof)) && (TORLOFCAPTURED == TRUE))
	{
		return;
	};
	if((Hlp_GetInstanceID(self) == Hlp_GetInstanceID(DJG_705_Angar_NW)) && (ANGARCAPTURED == TRUE))
	{
		return;
	};
	if((Hlp_GetInstanceID(self) == Hlp_GetInstanceID(SLD_811_Wolf)) && (WOLFCAPTURED == TRUE))
	{
		return;
	};
	if((Hlp_GetInstanceID(self) == Hlp_GetInstanceID(VLK_449_Lares)) && (LARESCAPTURED == TRUE))
	{
		return;
	};
	if((Hlp_GetInstanceID(self) == Hlp_GetInstanceID(Pal_207_Girion)) && (GIRIONCAPTURED == TRUE))
	{
		return;
	};
	if((Hlp_GetInstanceID(self) == Hlp_GetInstanceID(SLD_809_Bennet)) && (BENNETCAPTURED == TRUE))
	{
		return;
	};
	if((KAPITELORCATC == TRUE) && ((self.guild == GIL_PAL) || (self.guild == GIL_MIL)))
	{
		return;
	};
	if((Npc_GetDistToWP(self,"PUBLICPLACE_FLAG_20") <= 1000) || (Npc_GetDistToWP(self,"PUBLICPLACE_FLAG_19") <= 1000))
	{
		if(KAPITELORCATC == TRUE)
		{
			return;
		};
		if((other.guild == GIL_PAL) || (other.guild == GIL_MIL) || (other.guild == GIL_KDW) || (other.guild == GIL_KDF))
		{
			return;
		}
		else if((PERMTOPRISON == TRUE) && (ALARMONPRISON == FALSE))
		{
			return;
		}
		else if((self.guild == GIL_PAL) || (self.guild == GIL_MIL))
		{
			ALARMONPRISON = FALSE;
			B_Attack(self,other,AR_UseMob,0);
		}
		else
		{
			return;
		};
	};
	if(Wld_GetPlayerPortalGuild() >= GIL_NONE)
	{
		if(Npc_GetHeightToNpc(self,other) > PERC_DIST_INDOOR_HEIGHT)
		{
			return;
		};
	};
	if(Wld_GetGuildAttitude(self.guild,other.guild) == ATT_FRIENDLY)
	{
		if(Npc_IsDetectedMobOwnedByNpc(other,self))
		{
		}
		else
		{
			return;
		};
	};
	if(!C_IsUsedMobMyPossession(self,other))
	{
		return;
	};
	if(!Npc_CanSeeNpc(self,other))
	{
		if(Npc_IsInPlayersRoom(self) && (Npc_IsInState(self,ZS_ObservePlayer) || Npc_IsInState(self,ZS_ClearRoom)))
		{
		}
		else
		{
			return;
		};
	};
	detMob = Npc_GetDetectedMob(other);
	if((Hlp_StrCmp(detMob,"CHESTBIG") == FALSE) && (Hlp_StrCmp(detMob,"CHESTSMALL") == FALSE))
	{
	};
	if(!C_WantToAttackThief(self,other))
	{
		if(C_NpcIsGateGuard(self))
		{
			B_MemorizePlayerCrime(self,other,CRIME_THEFT);
		};
		return;
	};
	B_Attack(self,other,AR_UseMob,0);
};

